﻿using HalconDotNet;
using System.Reflection;

namespace wpf.template.match.Services
{
    public interface ITemplateMatchService
    {
        /// <summary>
        /// 创建模板
        /// </summary>
        /// <param name="hObject">生成模板的指定区域图像</param>
        /// <returns></returns>
        Task CreateTemplate(HObject image, HObject hObject);

        /// <summary>
        /// 运行
        /// </summary>
        /// <param name="image">图像源</param>
        void Run(HObject image);

    }
}
